@extends('layouts.supervisor')

@section('content')
<div class="page-content">

	<div class="row">

		<div class="col-xs-12">

			<h3 class="header smaller lighter blue">已同意指导学生名单</h3>

			<div class="table-responsive">

				<table id="sample-table-2" class="table table-striped table-bordered table-hover">
					<thead>
						<tr>
							<th>学生姓名</th>
							<th class="hidden-480">学号</th>
							<th>班级</th>
							<th class="hidden-480">专业</th>
							<th>手机</th>
							<th class="hidden-480">邮箱</th>
						</tr>
					</thead>
					<tbody>
						@foreach($approvedStudents as $approvedStudent)
						<tr>
							<td>
								<a href="#">{{$approvedStudent->user->name}}</a>
							</td>
							<td class="hidden-480">
								{{$approvedStudent->user->username}}
							</td>
							<td>{{$approvedStudent->class}}</td>
							<td class="hidden-480">{{$approvedStudent->major}}</td>
							<td>
								{{$approvedStudent->user->phone}}
							</td>
							<td class="hidden-480">
								{{$approvedStudent->user->email}}
							</td>
						</tr>
						@endforeach
					</tbody>

				</table>

			</div>
			
		</div>

	</div>

</div>
@endsection
